package com.starlink.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.starlink.common.domain.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("free_delivery_set")
public class FreeDeliverySetDO extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /** 满足的包邮金额（商城全局生效） */
    @TableField("price")
    private BigDecimal price;
    /** 开关 0：关闭 1：开启 */
    @TableField("turn_switch")
    private Integer turnSwitch;
}
